package model

import "database/sql"

type CrmLead struct {
	ResCommon
	Name         string
	ContactEmail string
	Title        string
	UserId       sql.NullInt64
	PartnerId    int64
	Partner      ResPartner
	ContactName  string
	Phone        string
	Note         string
	Description  string
	CountryId    int64
	Active       bool `gorm:"default:true"`
	Type         string
	AccessToken  string
	Year         string
	Month        string
	Hour         string
	WeekStart    string
	Week         string
	Quarter      string
	EmailFrom    string
	Referred     string
	SourceId     sql.NullInt64
	IndustryId   int64
	Industry     UtmIndustry
	IsHot        bool
}
type UtmSource struct {
	ResCommon
	Name string
}
